package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName MsgWxMaMsgTemplateDo
 * @Description
 * @Author ibeeking
 * @Date 2022-01-10 13:51
 **/
@Data
@TableName("wx_ma_msg_template")
public class WxMaMsgTemplateDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /**
     * 小程序id
     */
    @TableField(value = "app_id")
    private String appId;

    /**
     * 小程序订阅消息类型
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 小程序订阅消息模板id
     */
    @TableField(value = "pri_tmpl_id")
    private String priTmplId;

    /**
     * 小程序订阅消息标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 小程序订阅消息详细内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 小程序订阅消息例子
     */
    @TableField(value = "example")
    private String example;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "create_by")
    private Long createBy;

    @TableField(value = "modify_time")
    private LocalDateTime modifyTime;

    @TableField(value = "modify_by")
    private Long modifyBy;


}
